public function post_count($term, $object_type = 'post') { $term = $this->get_term($term); return $term->count($object_type); }