Added listSize method