Maximum Function Count Python Method Example