int size()

Returns the number of operations in the transaction.