I am a stata novice, using stata for the first time in life.

I have multiple variables as strings (0 and 1 as yes and no responses and a few missing data listed as NA) in the form:
Var1 Var2 Var3
0 NA 1
0 1 1
1 1 1
0 1 NA
NA 0 NA
1 0 1
1 NA 1
NA NA 0
NA 0 0
I used a loop to convert all of them to numeric, but also need to convert all NAs that are in these variables (which are now as numeric after conversion using encode) as stata recognised missing values. So far I have tried recode and replace syntax to convert all NAs to "." but when I apply those syntax and run count if missing (var), it does not return any missing values. So I am assuming stata is not recognising "." as missing values.

Any suggestions where I am going wrong will be highly appreciated.

Thanks much.