Count Strings Hackerrank Solution Python Tutorial Geeksforgeeks