Refactoring: split Pollen::popularity to two functions.