BUG: use size attribute (not method call)

xref: #7055