made a hash counting appl