Count the Number of K-Free Subsets