Check for empty array before db queries
Add option to render Disqus JS inline
Let external js option affect count script