Update countOccursInList.c