I have an array that looks like this:
a = ['UCI_99648;102568', 'UCI_99648;102568', 'UCI_99648;102568;99651', 'UCI_99651', 'UCI_99652', 'SIB_99658;102568;506010;706080', NaN]
I want to find out how many stings have a single number like UCI_99651
, UCI_99652
So, the expected outcome is 2.
How I can do this in python.
NOTE: my actual data is very large and the numbers can be anything and, as stated in the example, may involve missing values.