Hi!
We've noticed that when we perform a ddb count query from the CLI and have it return consumed capacity, the CLI is internally making multiple requests and aggregating the counts across queries. However, it's not also aggregating the consumed capacity. This leads to some odd results like counting 40,000 4kb records and only using 126.5 capacity units.
Looking into it a bit more, it looks like this is where the issue is (not assuming its as simple as removing ConsumedCapacity from non-aggregate keys =D).
cli version: 1.11.160