created ddcount.py