Kim – the entire outline is number 40, it wasn’t missed.
Everyone else who things that the answer is 47 not 40 – a square is a two dimensional shape, with four sides of equal length and four equal angles at the corners. The last 7 shapes are not squares as they have 8 sides for starters! They are a combination of two seperate squares to make a doughnut. The only way it can be justified to be a square is if you argue that they are the equivalent of using a thick pen, in which case you have already counted the two available options of the inner or outer edge.