How to count the number of occurences of a string from a Measure

If I have a measure that gives me all the link types and their ids like :

[Measures].[Linked Members to story]

Output :

Defect - Prj100
Defect - Prj271
Defect - Prj300
Task - Prj374

How can I get a count of only the defects from this list ?

Any ideas is greatly appreciated.


If you have imported Linked members as dimensions, you could create a new custom measure to count linked members by issue type.
See several examples (count of linked members by status) in our demo site reports:

Martins / eazyBI