Add: CounterCache feature to hasMany models

as discussed in issue #1879 
Maybe `behaviors` instead of `plugins`? ping @mickhansen