Create new method to get total data using COUNT(*)