Count both sides of a transaction