You don't have to write any code. You have to write just an integer like 1 or 2 or 3 etc. The question is "How many elements are present in ...?" Say the answer set is {1,2,3,8} Then you have to write only: 5