added #size method (see #56)