Return a copy with all occurrences of substring old replaced by new.
count
Maximum number of occurrences to replace.
-1 (the default value) means replace all occurrences.
If count is given, only the first count occurrences are replaced.
If count is not specified or -1, then all occurrences are replaced.