There isn't a maximum number of tracks, but be aware that indexing of very large collections (>30000) may take some time, especially on low-powered devices.

If your music files stay on NAS, the wired connection of the Volumio device to the router is recommended.