countCmdLeaves runs cmd, recurses into the slice-shaped []tea.Cmd payload of tea.BatchMsg / tea.sequenceMsg (both unexported), and counts leaves where match holds, asserting what a Sequence emits without importing bubbletea's internal types.
(cmd tea.Cmd, match func(tea.Cmd, tea.Msg) bool)
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected