Rationalize collect, collectE, accum and count in all languages.