finish first two method:  size , isEmpty