second test case failing idk why.kindly help

```
#include<bits/stdc++.h>
using namespace std;
int main()
{
unsigned long long int t;
cin>>t;
while(t--)
{
unsigned long long int a;
cin>>a;
unsigned long long int count=0;
while(a>0)
{
unsigned long long int k=a%10;
if(k==0)
{
}
else if(a%k==0 )
{
count++;
}
a=a/10;
}
cout<<count<<endl;
}
return 0;
}
```