The previous post helped us configuring a new refiner for the meta data stored in the Term Store.
To make it a little more fancy, lets consider adding a little count to that specific refiner. This could be easily achieved by adding a new Display Templates (well, copy the existing template and change a small parameter). Microsoft had provided the Count option. It's just not the default option. So, follow the below steps to configure the refiner to show the count.
Open the Site Settings>Master Pages and Page Layouts>Display Templates>Filters> Download the Filter_Default.html file and rename it to Filter_DefaultCount.html
Change the Title to "Refinement Item with Count" and set the showCounts value to true in the new file.
![pic]()
Upload the Filter_DefaultCount.html file into the above mentioned path and sharepoint will automatically create an associated js file(Filter_DefaultCount.js).

Upload the Filter_DefaultCount.html file into the above mentioned path and sharepoint will automatically create an associated js file(Filter_DefaultCount.js).

Edit the Refiner and configure the display templates as shown below.

Publish the page and the end result looks like this with a nice little count.
