NUMDIV  Number of divisors
In a class the teacher gave all the acm icpc aspirants a challenge on number theory.They could not solve it so they need your help. Help the students to solve this task.
The task that you will be given a number N. You have to calculate the number of positive integral divisors of that number.
(1 and N are considered to be the divisors of N)
Input
There are T test cases.(1≤T≤102).
First you will be given the number T. then T numbers follow.
(numbers are space separated)
next line contains T numbers N(1≤N≤10^18).
Output
In each line print the number of divisors of a number N.
Example
Input: 3 6 24 100 Output: 4 8 9
hide comments
smso:
20190621 09:57:11
Beware of overflows in miller rabin function. Useful test case:


elmer_fudd:
20181203 21:04:36
need code ...anyone can help?please 

vivek4434:
20170526 03:27:56
@aashray my code is showing WA, where I am wrong ?


ashu121:
20170406 19:14:03
ac in one go


aashray:
20170215 18:11:45
@holmesherlock YES 

holmesherlock:
20170207 08:02:02
can there be a prime in the test cases greater than 10^12 ..just asking..


aashray:
20170118 10:38:15
@kira28 you dont have to find the exact value of large prime numbers..all you need to do is to compute their powers as you are required to calculate the number of divisors...(think about some probabilistic approach)


kira28:
20161228 09:02:28
@aashray : How to factorise semiprimes which are product of two very large primes??


aashray:
20161031 15:00:32
@hamhom2008 try to optimize the code..your solution seems to be a brute one.


hamhom2008:
20161031 14:52:20
Getting TLE 
Added by:  aashrayagarwal 
Date:  20160929 
Time limit:  1s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  All except: ASM64 GOSU 