dim_of-methods function

Get the length of a given dimension of an object