Transform counts to probabilities