store the chunk's HTML to class's property to save memory of loop rendering
add utility function getQueryCount to count query with functions
add niceQuery by @Coroico for easy reading