i have to write a query in MDX to display count of measure column in a row and multiple dimensions like day,month,quarter,year shd be displayed.

i mean
for ex:
count of a measure for the last day

can anyone help me?

Thank you.