Formula that determines the calculation of a count