fix count when the key is an attribute written in dot notation
Merge branch '4.1' of https://github.com/marcoscoelho/framework into marcoscoelho-4.1
Fix present count.