Maximum Function Count Python Method To Check