Robert_LaCroix's post has the solution, though not the explanation.
If your PC sees fewer photos than you can on your iPhone it is because the other photos are stored in iCloud, and not on your phone. What you see on your phone are 'optimised versions' which are inaccessible to you. The...