Count transactions by ledger.