Corrected count increment