[database] How to get item count from DynamoDB?