*) Get doc count by time.