Parameterise counting method