State Frequency Estimation for Anomaly Detection