func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, a, b, c = 0;     cin >> n;     while (n) {       cin >> a >> b;       if (b > a + 1) c += 1;       n--;     }     cout << c;   }   