fixed bug in not adding up the facet counts for procedures having
multiple versions