Function: math-count-elements
math-count-elements is a byte-compiled function defined in
calc-stat.el.gz.
Signature
(math-count-elements VEC)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-stat.el.gz
(defun math-count-elements (vec)
(let ((count 0))
(while (setq vec (cdr vec))
(setq count (if (Math-vectorp (car vec))
(+ count (math-count-elements (car vec)))
(1+ count))))
count))