If I as root in Nautilus at the top directory open the properties I get:
Name: /
Type: Folder (inode/directory)
Contents: 1 560 503 items, totalling 414,8 GB
Trying root@nilx:/# locate * | wc
I get
2997356 3450407 217324980
and root@nilx:/# tree -ia
gives me
277432 directories, 3293850 files
(directories+files=277432+3293850=3571282)
So how many files do I have?