Converted Static Rowcounts To Parameters

Added parameters for searchResultCount and treeResultCount.