Count Number Of Homogenous Substrings Leetcode Solution