Regex else-if help

You need to provide us with some real-world examples of your source text, so that we can provide better answers and don't waste anyone's time.

How would you manually identify the start and end of the string of numbers and letters to be counted?

Please read:
Tip: How Do I Get The Best Answer in the Shortest Time?