fix count analyzer