Thing is, we'll probably never know. Will that information ever be shared with the public? How many people were prevented from entering the US over the past 8 years for "ties to terrorist organizations?" I have no idea.
It happened in early 2016 to Indian students.
http://fusion.net/story/272029/indian-students-denied-entry-...
Happened in mid 2016 to Syrian refugees.
https://pjmedia.com/news-and-politics/2016/08/09/substantial...
A reported 2015 rise in Muslims being denied entry
http://www.dlgvisablog.com/blog/2015/12/29/us-increasingly-d...
But without news reports or blog articles, how are we to ever know that X number of travelers were denied entry? We can say it's probably between 0-2, but there's no evidence to back that up and I don't know how we even begin to search for the evidence other than heavily redacted FOIA requests.
But I've been really giving thought to what I can do as an average citizen to make the slightest change in public policy.
Students, family members, and others following the rules are the targets. The goal is to increase hassle, expense, uncertainty and humiliation for Certain Visitors in order to have less of them.
If you look at the mass casualty incidents since 9/11, only at best ~50% of them were instigated by immigrants, let alone Muslim immigrants. A leaked DHS report apparently concludes that even most of those immigrants who did commit terrorism were radicalized post-entry, although this should have been the reasonable assumption of anyone who cast a cursory glance at the evidence.
The exclusion of Saudi Arabia, Egypt, UAE, Pakistan, and now Iraq, as well as the inclusion of Iran on the list (Iran's support of terrorism is pretty much limited to proxies whose targets are limited to Middle Eastern governments (including Israel) and have no inclination to carry out attacks in the US or Europe) indicate that the set of targets is chosen less for which countries are liable to produce terrorists and more for which countries the US government doesn't like.
As I've pointed out in the past, the number of terrorists who might be stopped by a travel ban like this is probably 0 and maybe as high as 2. The number of people for whom this would be the tipping point in their radicalization is probably between 0 and 10. This may create more terrorism than it catches.