Add ability to pass DOM element count in query string