A string is good if it has no repeated characters.
Given a string s, return the number of good substrings of length three in s.
If the same substring appears more than once, count every occurrence.
A substring is a contiguous sequence of characters in a string.