There is a useful attribute which can be added the the SharePoint 2010 Refiner web part XML to display the document counts.
The typical XML for a refiner category looks something like this:
<Category
Title=”Managed Metadata Columns”
Description=”Managed metadata of the documents”
Type=”Microsoft.Office.Server.Search.WebControls.TaxonomyFilterGenerator”
MetadataThreshold=”1″
NumberOfFiltersToDisplay=”6″
MaxNumberOfFilters=”20″
ShowMoreLink=”True”
MappedProperty=”ows_MetadataFacetInfo”
MoreLinkText=”show more”
LessLinkText=”show fewer”/>
In order to display the count next to the refiner it is simply a case of adding the ShowCounts attribute. The count can be displayed as a a traditional item count or a percentage by specifying either Count or Percentage as the value of the ShowCounts attribute.
<Category
Title=”Managed Metadata Columns”
Description=”Managed metadata of the documents”
Type=”Microsoft.Office.Server.Search.WebControls.TaxonomyFilterGenerator”
MetadataThreshold=”1″
NumberOfFiltersToDisplay=”6″
MaxNumberOfFilters=”20″
ShowMoreLink=”True”
MappedProperty=”ows_MetadataFacetInfo”
MoreLinkText=”show more”
LessLinkText=”show fewer”
ShowCounts=”Count”/>
Now counts will appear next to the managed metadata fields (in this example) but the same property can be used for any refiner category.
More Info
http://msdn.microsoft.com/en-us/library/ff625183.aspx