Count mines