8
Possible Duplicate:
how to return only truthy values as the result of a map operation
I have a collection which has falsy and truthy values. I would like to only count the truthy values, is there a way to do that ?
(count (1 2 3 nil nil)) => 5