If you have the library filtered by title, items in collections may be hidden causing your total number of videos appear to be incorrect
3 dots next to the library → Manage Library → Edit → Advanced
To check for duplicates, go to the library view and look here
When you find a duplicate movie click the 3 dots on the movie poster and select “get info”
That will show you what two movies merged together and their path on your file system
Make sure the movies have the date in parenthesis
The Matrix (1999)
You can also add the imdb or tmdb id number into the file name in curly brackets
The Matrix (1999) {imdb-tt0133093}.mkv
Optional info in the file name like .h265.atmos.1234 needs to be in square brackets. [.h265.atmos.1234]
That causes the scanner to ignore that information so it doesn’t cause a problem with matching
If you need to make changes to the names of the movies you may have to plex dance the file for the changes to be recognized