title: Count the rows, columns number and length of the contents as a string?
body: <p>I am reading a CSV file in Python.</p>
  <p>So, how can I use &quot;str.split(...)&quot; to count the rows, columns number of the data?
  Then, how can I find the length of the contents as a string?</p>
  <p>I can not use Pandas or Numpy libraries.</p>
  <p>Thank you for your help.</p>
  <p>What I got so far:</p>
  <pre><code>with open(file,&quot;r&quot;) as f:
      reader = csv.reader(f,delimiter=',')
      data = list(reader)
      row_count = len(data)
  
  print(row_count)
  </code></pre>
  <p>But it does not use by split() method. I'm still stuck with the columns.</p>