calculate popularity of problems and textbooks

[Delivers #54011773]