Adding select event trigger for count in entities.
Merge branch 'hotfix/1.0.2'