/**
  * Returns a total count of all tickets.
  *
  * @access public
  * @param void
  * @return string
  */
 function getTotalTicketCount()
 {
     if (!plugin_active('tickets')) {
         return 0;
     }
     return ProjectTickets::count('`milestone_id` = ' . DB::escape($this->getId()));
 }