getTotalCount() public method
Returns the total number of data models. When $pagination is false, this returns the same value as $count. Otherwise, it will call prepareTotalCount() to get the count.
public integer getTotalCount ( )return integer
Total number of possible data models.