@Substitution(name='<STR_LIT>')<EOL><INDENT>@Appender(_common_see_also)<EOL>def size(self):<DEDENT>
result = self.grouper.size()<EOL>if isinstance(self.obj, Series):<EOL><INDENT>result.name = getattr(self.obj, '<STR_LIT:name>', None)<EOL><DEDENT>return result<EOL>
Compute group sizes.