Measure the number of shielded notes at a Zcash wallet checkpoint
An account holding a modest balance can contain many notes, affecting how a transaction builder assembles spends. Count note records by pool independently of their monetary values.
Fix a confirmed checkpoint
On a mainnet wallet that has scanned past height 2500000, request a one-confirmation view at that height. The response separates the Sprout, Sapling and Orchard note counts across the wallet.
zcash-cli z_getnotescount 1 2500000
Compare counts without treating notes as ZEC
Forty Orchard notes and two Sapling notes tell you where the fragmentation is concentrated. They do not imply a forty-to-two value ratio. Use the same height and depth when comparing snapshots. An explicit historical query excludes unconfirmed transactions, and a future height falls back to the current height.