length method added. YYQuery refactored to include more methods simpler.