The correct statement is: The number of protons is given by the atomic number, which increases by one moving from left to right across each row of the periodic table.
The atomic number (which represents the number of protons) indeed increases by one as you move from left to right across a row (period) in the periodic table.