Another solution came to my mind:

Is it possible that GetNumOfSteps() is a member of a CListManager<CStep> derived class? In that case GetNumOfSteps() calls GetNumOfItems of its parent class.