pub fn count_frames_per_topic(path: &str) -> Result<Vec<(String, u64)>>
Zählt Frames pro Topic in einem .zddsrec und liefert Topic-Name → Sample-Count Map.
.zddsrec
I/O- oder Format-Fehler.