CountIfs returns an unexpected number