Count based on cell format