working on querylog_count