REST counter application for transactionally incrementing a counter