The count relation counts the number of individuals in a collection.
count setOfObjects number
The setOfObjects argument is a list.
The number argument is the result of the arithmetic operation.
(tellm (:about Joe (:filled-by child Mary Sue Pat)))
(retrieve ?x (count (child Joe) ?x)) ==> (3)
(ask (> (count (child Joe)) 2)) ==> T
Last modified: Jun 1 1995