Logstash 2.1 error on greater than

Looks like the problem was with the DOT field name. I had to update my config

if "metric" in [tags] {
if [events][count] >= 3 {
stdout {
codec => line {
format => "rate: %{[events][count]}"
}
}
}
}