Maximum Function Count Python Method Parameter