add getNumber method

v1.1