Added row-count-method für getting the count of the given query.