Globular cluster numbers in dark matter haloes in a dual formation scenario: an empirical model within emerge | Synapse