I would think the best solution would be using the Ticket Logging feature and log the Command Value for button clicks to each ticket. You can then use reporting to get your totals.
We have {REPORT TICKET LOG DETAILS} and here is a good read on how to use this.