Write and test a function that removes all occurrences of a substring from a string. The function has 2 parameters – the string and substring. The function returns the edited string and the number of occurrences of the substring in the original string.
