add autodoc for count-median.py