The number of DOM elements is easy to test, just type in Firebug's console:document.getElementsByTagName('*').length
document.getElementsByTagName('*').length