fn toml_scan_exclude_count(scan: &Map<String, Value>) -> usize
Count configured scan exclude entries in a TOML scan table.