Maximum Function Count Python String Contains A Substring Crystal Reports