Implementation of a getter on size

GetSize is not necesary for the program and it will be deleted at the end
Test on GetSize