<p>A string is <strong>good</strong> if there are no repeated characters.</p>
<p>Given a string <code>s</code>, return <em>the number of <strong>good substrings</strong> of length <strong>three </strong>in </em><code>s</code>.</p>
<p>Note that if there are multiple occurrences of the same substring, every occurrence should be counted.</p>
<p>A <strong>substring</strong> is a contiguous sequence of characters in a string.</p>
<strong>Explanation:</strong> There are 7 substrings of size 3: "aab", "aba", "bab", "abc", "bca", "cab", and "abc".
The good substrings are "abc", "bca", "cab", and "abc".
</pre>
<p> </p>
<p><strong>Constraints:</strong></p>
<ul>
<li><code>1 <= s.length <= 100</code></li>
<li><code>s</code> consists of lowercase English letters.</li>