N-Queens 2 - Count number of distinct solutions

N-Queens 2 - Count number of distinct solutions - Coding Problem | K5kC