Count Strings Hackerrank Solution Python Tutorialspoint