[MIE-699] - Moving counts out of cypher queries; counting the number of query results and adding to the response object; format response object to conform with AS 2.0 spec of {totalItems: <count>, items: [{actor, verb, object},{actor,verb,object}...]}.