Bug 1032618 - [traceback] TypeError: count() takes exactly one argument (0 given)

This change addresses the cause of all of these errors