But it IS defined as a number:
The mole, symbol mol, is the SI unit of amount of substance. One mole contains exactly ##6.02214076 \cdot 10^{23}## elementary entities. This number is the fixed numerical value of the
Avogadro constant,
NA, when expressed in the unit ##\text{mol}^{−1}## and is called the Avogadro number.
[7][49] The amount of substance, symbol
n, of a system is a measure of the number of specified elementary entities. An elementary entity may be an atom, a molecule, an ion, an electron, any other particle or specified group of particles.
For details about the new SI, see the Wikipedia article
https://en.wikipedia.org/wiki/2019_redefinition_of_the_SI_base_units