So we all know we can put an aggregate directly into an Integer, like this:
Integer countAccounts = [SELECT COUNT() FROM Account];
Is it possible to do the same thing, using Database.query()?
Integer countAccounts = Database.query('SELECT COUNT() FROM Account');
If so - how?