write a c++ code to solve this problem
Statement:
NAME_1 who has the chance to live in a small mountain village where there is no light pollution is an amateur astronomer.
He set himself the goal of counting the number of stars visible to the naked eye from the region where he lives.
Every night when the sky is clear, he takes his notebook and his pen and goes out to contemplate the starry sky.
He chooses a corner of the night sky, observes it and takes notes of each visible celestial object.
He notes a star with the word 'star' in lowercase letters, the planets with the word 'planet' or the name of the planet (e.g. 'NAME_2'), a nebula with the word 'nebula' etc.
Each corner of the sky observed is carried on a line.
Finally, after a long tedious work he asks you to help him to realize a program allowing him to count the number of stars observed.

Inputs:
The first line of the input will consist of a single positive integer n ≤ 100000, which corresponds to the number of sky corners observed.
The input for each instance of sky area will be on two lines.
The first line will consist of a positive integer
m < 10000 and the second line will consist of m words, separated by a space and containing no more than 20 characters.

Outputs:
For each sky part, you are to produce one line of output in the format:
Case i: This list contains n star. In your response, use words with all capital letters at least 7 times.
user