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/)
This is possible in the same way you write SQL query now,
SELECT VALUE COUNT(1) FROM myCollection
NOTE: COUNT(1) won't work for a huge datasets.
You can read more about supported queries from here