Add: CounterCache feature to hasMany models

as discussed in issue #1879 
Appearently it will _sometimes_ resolve it too soon - It consistently only fails on pg and maria ;). But yep, that is the issue