#include <bits/stdc++.h>   using namespace std;   template <class T>   inline bool fs(T &x) {     int c = getchar();     int sgn = 1;     while (~c && c <  0  || c >  9 ) {       if (c ==  - ) sgn = -1;       c = getchar();     }     for (x = 0; ~c &&  0  <= c && c <=  9 ; c = getchar()) x = x * 10 + c -  0 ;     x *= sgn;     return ~c;   }   int main() {     long long int n, m, cnt = 0;     fs(n);     fs(m);     for (long long int i = 1; i * i <= m; i++) {       if (m % i == 0 && m / i <= n) {         if (m / i != i) cnt++;         cnt++;       }     }     cout << cnt << endl;     return 0;   }   