select write_date,write_time,count from t_counter where corp_cd = 202 and write_date = '2017-09-21' and write_time = 23 and mode = 1