Hint 1
Before you get carried away, remember that a square is only a square if it is closed off on all four sides.
Bear this in mind while you count all the small squares, and you should get a total of 17. This isn't the answer, though.
Don't just focus on the individual squares. You need to look much deeper than that.