Arrays and collections / Arrays

(def numbers [1 2 3])

(def cnt (count numbers))
;; cnt is 3
(println cnt)

;; count works the same on any collection
(println (count "hello"))                 ; 5
(println (count (filter odd? numbers)))   ; 2 — how many are odd
(println (empty? []))                     ; true