def count(self, page_size=10, vtimeout=10):
        a = self.get_attributes('ApproximateNumberOfMessages')
        return int(a['ApproximateNumberOfMessages'])
Utility function to count the number of messages in a queue.
dataset/ETHPy150Open darcyliu/storyboard/boto/sqs/queue.py/Queue.count