return count value