Added count to each model as badge
Fixed view of paginator