total count class