public function getPostsCountByCategoria($idCategoria) { $obj = new PostModel(); return $obj->getPostsCountByCategoria($idCategoria); }