title: How to count items in list recursively
body: <p>I am looking to count the items in a list recursively. For example, I have a list few lists:</p>
  
  <pre><code>a = ['b', 'c', 'h']
  b = ['d']
  c = ['e', 'f']
  h = []
  </code></pre>
  
  <p>I was trying to find a way in which I find out the length of list 'a'. But in list 'a' I have 'b', 'c' and 'h' ... hence my function then goes into list 'b' and counts the number of elements there... Then list 'c' and then finally list 'h'.</p>