well...if there is a counter then nobody's found it..and there should be one...if the interpretation of the rules is what we make it to be in the case of foresight, then a counter doesn't exist...a 9th level spell without xp or material costs can't the ultimate "i will never be surprised spell"...it's just too broken imo..there has to be a counter and in my mind it should be mindblank...
the forcage+clopudkill combo that is supposedly instant death has one too many counters and most of them very easily acquired...and its a total of two spells...
foresight is a buff that lasts 4 hours at level 20, has no draback, has no cost except one spell slot...it is not expended when it actually predicts the attack and its application is virtually limitless...
and good luck with trying to tie up or flank a wizard...the very least he can do is gr. dimension door...