Counts the no . of occurrences of a node ( search_for ) in a linked list ( head )
int count ( struct Node * head , int key ) { if ( head == NULL ) return frequency ; if ( head -> data == key ) frequency ++ ; return count ( head -> next , key ) ; }