title: Pandas Counting Character Occurrences
body: <p>Let's say I have a dataframe that looks like this:</p>
  
  <pre><code>df2 = pd.DataFrame(['2018/10/02, 10/2', '02/20/18', '10-31/2018', '1111-0-1000000', '2018/10/11/2019/9999', '10-2, 11/2018/01', '10/2'], columns=['A'])
  
  &gt;&gt;&gt; df2
  
                        A
  0      2018/10/02, 10/2
  1              02/20/18
  2            10-31/2018
  3        1111-0-1000000
  4  2018/10/11/2019/9999
  5      10-2, 11/2018/01
  6                  10/2
  </code></pre>
  
  <p>Is their a way to count the number of occurrences of a specific character or set of characters?</p>
  
  <p>i.e. I want to count the number of "-" and "/" and add them together, so my output my look like this:</p>
  
  <pre><code>                      A     specific_character_count
  0      2018/10/02, 10/2                            3
  1              02/20/18                            2
  2            10-31/2018                            2
  3        1111-0-1000000                            2
  4  2018/10/11/2019/9999                            4
  5      10-2, 11/2018/01                            3
  6                  10/2                            1
  </code></pre>