title: How do to count the number of elements in a list?
body: <p>So here is my code. It should count the number of elements in a list but instead it prints a zero even though a list contains something.</p>
  
  <pre><code>(defun my-list (listA)
      (setq count 0)
      (loop for i in listA
      if(null i)
          count
      else
      do (setq count(+ count 1))))
  </code></pre>