One way to do this is to create an integer parameter and then create a calculated field similar to the following:
if total(sum([# of Records]))=[Parameter] then 'Show' else 'Hide' end
The, place the calculation on the filter shelf, and check Hide and Exclude. Since the calculation uses a table function, it may be necessary to change how the calculation is being computed (to do this, right click on it and select Compute Using...)
Hope this helps!