title: Counting the list inside the list
body: <pre><code>grid = [['.', '.', '.', '.', '.', '.'],
          ['.', 'O', 'O', '.', '.', '.']]
  </code></pre>
  
  <p>I would like to ask if how can I count the values inside the list. In this case, the value would be 6 not 2. Sorry I am not that familiar with the terms. Thanks! </p>