cache: count vnodes in cache_purgevfs
(cherry picked from commit a2cb65b8fe975a8f228258e3057b62e068dbf8e2)