https://numbas.mathcentre.ac.uk/question/128614/counting-intersections.zip?