I think modern versions of python support generator comprehensions. I would write this as 

sum((x.count for self.objects.itervalues()))

Also it you can add

from __future__ import division, and it will handle the float conversion correctly.