to count total