select count(*) from ontime use index();