rename length to size in collections