Is it possible to count unique numbers and count unique text + numbers

For example:

Column A
1234
4567
2345
4356
a123
B345
C567

What formula to use so that when I count lines 1-7, I get 4 counts of numbers and 3 accounts of text + numbers? Please help