def count(self):
        return len([i for i in self.iteritems()])
Test availability zone could be update by given host.
dataset/ETHPy150Open impactlab/eemeter/eemeter/meter/base.py/DataCollection.count--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/test_availability_zones.py/AvailabilityZoneTestCases.test_update_host_availability_zone