Parse a custom field and count

I have a field - Project Number. The field contains project numbers in the form of DCI-1234 and FC-1234.

I need to count the number of times DCI occurs and the number of times FC occurs. I suspect I will need to use a regular expression.

Any suggestions?