v input view
Size returns the number of rows in v.
set v [view A def {a b c}] view $v size 3 view $v get # 3
3