return strides as number of elements, not number of bytes