n--r+1 = 1 point for 1st out and increment by one
+if(r=1,3) = 3 points for winning
+if(nh =>1, 1) = awards 1 point for obtaining a hit.
The point for most hits you would have to make a prize, track who has the most hits, and manually award it (unless there is a way to automatically do it that I'm not aware of).
So, to combine the first three lines:
n-r+1+if(r=1, 3)+if(nh=>1, 1) should take care of all but the hit leader, which again, should be a prize.