title: Count rows and columns
body: <p>How would I go about defining a fuctions in counting the number of rows and columns in a list of lists? For example group1 would be 1 row with 6 columns.</p>
  
  <pre><code>group1  =   [['.',  'A',    'A',    '.',    '.',    '.']]
  
  def num_rows(group):
  
  def num_columns(group):
  </code></pre>