Y
Hacker News
new
|
ask
|
show
|
jobs
by
sedro
959 days ago
Or more succinctly
val num = words.count(_.nonEmpty)