Refactoring; bugfixes; better showcount display

CHG: refactored the render_as_html_column function for clarity
FIX: updated p_get_metadata parameters to match newer release
CHG: moved the show-count indicator to the right next to Top symbol