JDataTest::testCount

Tests the count method.