More than 1.7 million migrants were stopped in the past year, including 145,000 children.