There are 12 nucleons in a carbon atom and if we say that the electrons mass can be neglected, then we get that a mole is the number of nucleon it takes to get one gram of them.