title: Counting the total number of elements in a csv file
body: <p>Looking to count the total number of elements in a CSV file using Pandas in Python. So if a csv file has 500 elements, I would want to return 500.</p>
  <pre><code>df = pd.read_csv(fileName)
  
  tick = df.index([&quot;EventID&quot;])
  ticketNum = tick.size
  print(&quot;There were&quot;, ticketNum, &quot; film permits.&quot;)
  </code></pre>
  <p>Attempted to use index.size but unfortunately does not work. Is there any other method to do this?</p>
  <p>Thanks.</p>