Ascendion Interview Question

Give the repeat count of characters in string object using stream api