If you already have a count measure, usually defined by the cube design wizard in the form "<<MeasureGroupName>> Count",
then
select [Measures].[MeasureGroupName Count] on 0,
FILTER([dimCustomer].[Age].Children, [Measures].[Sales]<>0) on 1
from <<YourCubeNameHere>>
Will yield the count...