The count of pattern | CodeChef