Created originally on Bitbucket by redorlik (Anders Lehmann)
Was already merged in Bitbucket before import, marked as merged by the import user
I had a go at the function "count_nonzero" at Europython.
Thanks to the help of Armin, I even managed to make a jit test (and make it pass).
Thank you Armin