Renamed function len() to size()