function _updateDayCountersRecord($stamp, $hits_today, $hosts_today, $is_new_host, &$stats_request)
 {
     $home_hit = $stats_request->isHomeHit() ? 1 : 0;
     $audience = $is_new_host && $stats_request->isAudienceHit() ? 1 : 0;
     $sql = new SimpleUpdateSQL($this->day_counters_db_table->getTableName());
     $sql->addField('hosts = ' . $hosts_today);
     $sql->addField('hits = ' . $hits_today);
     $sql->addField('home_hits = home_hits + ' . $home_hit);
     $sql->addField('audience = audience + ' . $audience);
     $sql->addCondition('time =' . $this->makeDayStamp($stamp));
     $toolkit =& Limb::toolkit();
     $conn =& $toolkit->getDBConnection();
     $stmt =& $conn->newStatement($sql->toString());
     $stmt->execute();
 }