select count(*) from basic_count_tb where year=2018 and month=9 and week=39 and day=24 and ip='54.224.166.141'