count stats speedup & datetimepicker