pub fn count(shape: &[usize]) -> usize
The number of items in an array of shape that already exists. Unlike element_count, it checks neither the rank nor overflow. Ranks 0 to 2 compute it inline.
shape
element_count