Maximum Function Count Python String Operations