pub fn count(wb: &Workbook) -> usize
How many macros the workbook holds: the readable ones and the ones kept in a newer format (Workbook::macros_unread), which a save writes back and the next open counts too.
Workbook::macros_unread