Email Record: Counting solutions for the N-queens and Latin-square problems by Monte Carlo simulations