use counting for AQL queries

this will set the `count` attribute by default when running an AQL query on the server.
this allows to call the `count()` method on the returned cursor afterwards.
added simple tests for GET and HEAD