Suffix Count

Problem statement

A suffix is a letter or a contiguous group of letters present at the end of a string. Given an array of strings words and a string suff, return the number of strings in words that contain suff as a suffix.

Example 1

Sample Input

Get hands-on with 1400+ tech skills courses.