Count the Number of Consistent Strings

Count the Number of Consistent Strings - Coding Problem | K5kC