boto/boto — pull request #782 by raff (2012-05-24 22:26:16+00:00)
Title: adding support for scan(count=True) and query(count=True)

when scan or query are called with count=True the result object is not an iterator but an object that contains the counters returned by DynamoDB (count for Count and scanned_count for ScannedCount)

the alternative is to have a separate set of methods (scancount and querycount ?)