I'm not sure what's going on here, but you have several 'disks' shown at the bottom, like 'K-01' with 7 photos, 'K-1' with 505 photos, 'KINGSTON' with 198 photos, etc. Those look like memory cards, or cameras that were connected to Lightroom. Normally Lightroom would not let you add these photos to the catalog without copying them to the hard disk, but that is what seems to have happened. Lightroom thinks these photos are still on the cards/cameras. What probably happened is that you copied the photos, but you chose the same memory card as the destination. Unfortunately these photos may be lost if you have reformatted the memory cards since then. However, that still doesn't bring the photo count up to the 5859 in 'All Photographs'... Are you sure that ''Library > Show photos in subfolders' is checked?
... View more