Count Of Each Character In String Python Replace