Maximum Function Count Python Method Return