debounce the number updates, fix broken query for last x days