How many ep in a shape

Hi there, can someone tell me how to get by a mel command the size of the tab of the ep in a shape.

ex: ep[10][9], could be the result as the last edit point of a shape.

Thanks very much.
David