count() isEmpty values

@gemats Sorry here i am out, i do not know your database.
Here you are on your own.

Do some testings, perhaps you will find the reason for this behaviour.