Length

Length operates on the FullForm of expressions:

The length of atoms is 0:

Note that rational and complex numbers are atoms, although their FullForm might suggest the opposite: