Serverinfo fileclount not working correctly?

Hi, I try to monitor Nextcloud with zabbix. I am fetching the server info json, parse it and try to create trigger.

One thing I would like to monitor is, when a reasonable amount of files have been deleted within a period.

So I take the file clount from server stat and worked with that. But when I upload a buch of files, the increase of files have been shown correctly while deleting the same files does not seems to have any effect on the file count.

This would mean that file count would also count the files in trash what seems to be not a good approach.

Can anyone confirm this behavior and have some suggestions for me?

Kind regards