Count Substrings With K Distinct Characters