fn popcount(packed: &Bound<'_, PyAny>) -> PyResult<u64>
Count set bits in a one- or two-dimensional collection of packed words.