BASH - Count the number of occurrences of a substring in a string (2 Solutions!!)

Published --