Added a test for total count.