Can we rename the variable `popularity`? When I read the next line I thought a method `pop` was being called, `pop` is a common method name on data structures.