Enhancing the Apriori Algorithm for Frequent Set Counting