@stdlib/ndarray-base-singleton-dimensions (npm): Return the number of singleton dimensions.
Keywords: stdlib|stdtypes|types|base|ndarray|shape|size|length|len|singleton|dimension|multidimensional|array|utilities|utility|utils|util|javascript|node|node-js|nodejs