human
get dimenstions of object.
assistant
Here is a Python program to get the dimenstions of objects

import numpy as np

def get_dimensions(obj):
    """
    >>> obj = [[1,2,3],[4,5,6],[7,8,9]]
    >>> get_dimensions(obj)
    3
    """
    return len(obj)

# Enter the matrix
matrix = np.array([[1,2,3],[4,5,6],[7,8,9]])

# Calling the function
print((get_dimensions(matrix)))

#Example Output
# 3

#Remember to inspect code for bugs.