adding missing show_count parameter for js