Counting items of a DynamoDB table