Try using .size()