Reformat Java code to use 2 instead of 4 spaces (to match Clojure style)
Rankings: add pruneZeroCounts() method
Rankings: use private helper method to implement getRankings() for cleaner code