Added /ledger/count endpoint