I have an example data as :

```
date        product campaign_type             total_monthly_sale
2019-01-01. Dell      [call, email, call].       5
2019-01-01. Apple     [fax, fax, visit, visit]   4
2019-02-01. Dell      [call, fax, call]          6
2019-02-01. Apple     [email, email, visit]      7

```

I would like to create a new column called 'campaign\_dict' which gives the count of the values from the campaign\_type column.

The example output is like this:

```
date        product campaign_type             total_monthly_sale. campaign_dict
2019-01-01. Dell      [call, email, call].       5.               {'call':2,'email':1} 
2019-01-01. Apple.    [fax, fax, visit, visit].  4.               {'fax':2,'visit':2}
2019-02-01. Dell.     [call, fax, call]          6.               {'call':2,'fax':1}
2019-02-01. Apple.    [email, email, visit].     7                {'email':2,'visit':1}

```