The mass function of dark matter haloes | Synapse