Determining the number of subsets for a real-world situation