add function count and fix map,each,filter,concat to use count