minor tweak of countnz & count + some cosmetic changes in reduce.jl

`countnz(a::AbstractArray)` is not needed (which was implemented in the same way as `countnz(itr))`