Problem 1: Finding occurences in list

In this problem you will write a function which takes a list and a value. The function must return how many times the value appears in the list.

Problem 2: Finding count of conditions

In this problem yo will write a function which takes a list, a value, and a comparator function as parameters. Your function must apply the comparator function to the value and each of the list elements, then return the number of times which the comparator function results a true value. For example

    (define (countConditions list value function)

    (check-expect (countConditions (list 1 2 3) 1 >) 2)
    (check-expect (countConditions (list 1 2 3) 3 <=) 3)

NOTE: You must choose Advanced Student as language, to use functions as values.