add count time function