Implemented my_length