Abnormal Traffic Detection Circuit with Real-time Cardinality Counter