use 'count' instead of 'total'