What is the definition of an atomic mass number?

Flexi Says:
The mass number is defined as the total number of protons and neutrons in an atom. From the number of protons one can define the atomic number and name of the element. The element with atomic number 11 is Sodium (Na) that has atomic mass 22 with 11 protons and 11 neutrons.