Two variants come to mind, one using Calc's vector length function vlen
, the other using elisp's length
, which gives the size of a list:
| Item |
|---------------|
| tomato |
| banana |
| space shuttle |
| orgmode |
|---------------|
| 4 |
| 4 |
#+TBLFM: @6$1='(length '(@I..@II))::@7$1=vlen(@I..@II)
@I..@II
means all rows between the first and second hlines.