Added count function, number function and some
comparison operators.