Implemented counter using DynamoDB