Yes, you are correct. The amount of protons in the nucleus is also the same as the atomic number of an element in the periodic table. If you take a look at the periodic table of elements, the sequence of the elements, let us say H or hydrogen = 1. It only means that a Hydrogen atom contains 1 proton only and so on for the next chemical element in the table.