Returns the number of elements along dimension d of the Cartesian product, defaulting to dimension 0.
Returns the number of elements along dimension d of the Cartesian product, defaulting to dimension 0.