/** * Return the count of all non-draft definitions */ public function countPublished() { return \Definition::count(); }