# File firewall/lib/symbiosis/firewall/blacklist_db.rb, line 30
      def get_count_for(ip, timestamp = (Time.now - 48*3600))
        cnt = @dbh.execute("SELECT SUM(count) FROM #{@tbl_name} 
          WHERE ip = ?  AND timestamp >= ?", 
          [ip.to_s, timestamp.to_i]).flatten.first

        return cnt.to_i
      end