Assuming the question was how many candles are left unburnt at the end the answer is 3 as they were the ones that were extinguished by the wind.
If the question was How many candles were burning right at the end of the gust of wind, then there were 7 of them burning.
So depending on what "end" we are talking about we can have 2 different answers.