One small thing, this might be better as a `HashMap[(Int, String), Long]` instead of a HashMap of HashMaps.