1) d20 + Int + prof for a wizard, d20 + Cha + prof for a sorcerer; the same number you use for making magic attacks or adding 8 to for save DCs.
2) Yes, if you cast a spell, another caster uses counterspell, you can use your own counterspell to counter that counterspell, though you only get one...