Fix count for one condition