Dear Yasemin,
The issue is that the query is a join on sales cube and customer master (Info Set). Hence the result is bringing in only those customers which are listed in the sales cube. Hence the total count is missing. I guess this is the case.
Regards
GKR