Change incorrect documentation for size

close #5355