Result counts

cleans up the ui appearance based on feedback from Ed and what we worked through here at the work week.

I added several new directives to help clean up the HTML code as well and provide for better code reuse.