Impement #size for various classes