Get Count Of Substring In String Python Functions