$flood_count = db_query('SELECT COUNT(nid) FROM {node} n WHERE uid = %d', time() - $time_period);