title: Counting linked list nodes using Recursion
body: <p>How can I count the number of single linked list nodes using recursion (no while or for loops only if statements)</p>
  
  <pre><code>int Elements(Node head)
  {
      if (head==null)
          return 0;
      else
      {
  
      }
      head=head.next;
  }
  </code></pre>