JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://github.com/arieh/mt-count/raw/master/Source/$count.js"></script>
<ul id='res'></ul>
JavaScript
[
{'a':'a'},
['a','c'],
4,
'a',
function(){},
function(){return;},
new Element('div').adopt(
new Element('div'), new Element('div')
),
new Date(),
/[\W]/
].each(function(e){
new Element('li').appendText($type(e)+": " + $count(e)).inject($('res'));
});