added: getNumberMethods and Tested.