fix count and %