Implemented getSize
Implemented getSize