#22
Count a Sequence
 

Difficulty:N/A
Topics:easy seqs core-functions


Write a function which returns the total number of elements in a sequence.
test not run
(= (__ '(1 2 3 3 1)) 5)
test not run
(= (__ "Hello World") 11)
test not run
(= (__ [[1 2] [3 4] [5 6]]) 3)
test not run
(= (__ '(13)) 1)
test not run
(= (__ '(:a :b :c)) 3)
Special Restrictions
  • count


  • Code which fills in the blank: