count() function is used to count the frequency of particular character or substring in a given string.
hear we count the frequency of 'l' in "hello" word which is 2 so 2 is the correct answer