'Returns the rank of the ``Indexed`` object.
Examples
>>> from sympy import Indexed, Idx, symbols
>>> i, j, k, l, m = symbols(\'i:m\', cls=Idx)
>>> Indexed(\'A\', i, j).rank
2
>>> q = Indexed(\'A\', i, j, k, l, m)
>>> q.rank
5
>>> q.rank == len(q.indices)
True'

@property
def rank(self):

    return (len(self.args) - 1)
