It seems like \'select count(*) from c\' in the SQL queries allowed by documentdb in the azure site and through the documentdb explorer (https://studiodocumentdb.codeplex.com/)
Actually works at this point:
SELECT COUNT(c.id) FROM c