added 'countOf' to array_extensions.js