'Test aggregation method \'count\''

def testCount(self):

    assertEqual = self.assertEqual
    values = ['A', 'B', 'B', 'C']
    aggregate = S3GroupAggregate('count', 'Example', values)
    assertEqual(aggregate.result, 3)
    values = None
    aggregate = S3GroupAggregate('count', 'Example', values)
    assertEqual(aggregate.result, None)
    values = 17
    aggregate = S3GroupAggregate('count', 'Example', values)
    assertEqual(aggregate.result, None)
