fix count locality