Persistent Systems Interview Question

2. Extend the class and create a function to count the size of linked list