Muslim countries will always have terrorist attacks. Which is one of the reasons why you would never ever want to have a major muslim group in your country. Dangerous situations arise.
Where you got this assumption from ? I'm from a Muslim country (Algeria) and terrorist attacks (since your definition for "terrorist" = "muslim") rarely happens here , this is valid for various countries like Qatar , Emirates and a lot more.
I have just one question for you who was behind every terrorist attack in Europe in last 5 year or so?
Who was behind the 99% terrorist attacks in non Muslim countries?
I'm not saying that they are not Muslims and I'm not saying that what they are doing is not bad , I'm definitely against the terror attacks.
Let's be honest here though , the word "terrorism" is only being used with muslims these days and no one could deny it , now according to Wikipedia :
"Terrorism is, in its broadest sense, the use of intentionally indiscriminate violence (terror or fear) in order to achieve a political, religious, or ideological aim"
If we follow the media logic , It should be this instead as they only use it with Muslims :
"Terrorism is, in its broadest sense, the use of intentionally indiscriminate violence (terror or fear) in order to achieve an islamic aim"