```python
def count_Num(n):
    if n == 0:
        return 1
    else:
        return 1 << (n - 1)

```