Create hash to count