DynamoDB count operation capacity units consumption
<p>If I'm not mistaken, to perform a count of items, in DynamoDB we have to use the <a href="http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html" rel="nofollow">query</a> action and provide <code>Select: 'COUNT'</code> as parameter. Let's consider that I'd like to count the number of items that have a certain partition key. Given that we have to use the <code>query</code> action, does that mean the following?:</p>

<ol>
<li>Even though we're returning only the count, the consumed read
capacity units will correspond to the size of all the items with
that partition key.</li>
<li>If the size of the items that have the given partition key exceeds
1MB, the count will be partial, will only consider the items up to
1MB and the operation will be paginated.</li>
</ol>