Rework pp_get_category_post_count() for #27