cfunction src/core/ev.c on line 1062, column 1 (ev/count channel) Get the number of items currently waiting in a channel.
(let [c (ev/chan 1) before (ev/count c)] (ev/give c :hi) [before (ev/count c)]) # => '(0 1)