Am working on a windows store javascript application. The application uses data from azure mobile services. Consider the below code:
If anybody comes here and interested in how to get the totalCount only on C# (like me), then this is how you do it:
var table = MobileService.GetTable ();
var query = table.Take(0).IncludeTotalCount();
IList results = await query.ToListAsync ();
long count = ((ITotalCountProvider)results).TotalCount;
Credit goes to this blog post here