I’d like to find out how many transactions a ticket has.
I can do this by querying the rt database with SQL using the following
select count(*) from Transactions where ObjectId=$id
However, I’d like to do it through the API.
Is there a simpler way to do this? eg. is there a variable that already
has the number of transactions in it?