Calculating percentage of hits