I count 16, but it seems like one is hidden behind a pole.
The actual flag count is....wait for it...... 17!
.