Update Query.php

added ArrayAccess, Countable, IteratorAggregate Interfaces