title: How do you create a function that would take in a list of categories and count the number of elements in each category?
body: <p>I need to return a dictionary the with the categories as keys and the counts as values.</p>
  <p>I'm very new to coding but this is what I've come up with so far:</p>
  <pre><code>def bin_counter(num_list):
      num_dict = {}
      for num in num_list:
          count.num_dict[num] = 'value'
             
      return num_dict
  </code></pre>