Maximum Function Count Python Function Return