Count Number Of Substrings With Exactly K Distinct Characters