added order and count expressions