bulk count logic changes