What are the tags of the key for the database, to identify unique tracks (for example, %artist%,%album%,%title%)?
Assuming you're talking about foo_playcount??
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Components/Playback_Statistics_v3.x_(foo_playcount)#New_playback_statistics_data_pinning_scheme_introduced_in_version_3.0
Playback statistics are now pinned to a combination of artist + album + disc number + track number + track title information, contrary to pre-3.0 versions which would pin data to file paths.