Added and implemented 'getSize' function.