Heuristic Search - Hill Climbing
Channel: Misiriya Basheer
Date: 2016-05-26

Reference : AI- A Modern Approach by Russel Norvig

Answer to query on no. of attacks in the 8-queens problem: 
Here you have 
5 horizontal attacks (4 direct ones and 1 indirect).

8 direct horizontal attacks and

4 indirect horizontal attacks.

That makes it 17 attacks. You can pause the video and map those attacks.