Difficult to say without more specific information.
First of all, if possible, please post screenshots showing the Web GUI on both sides. Secondly, make sure that you’re running the newest or at least recent versions of Syncthing on all devices. Thirdly, make sure there are no permission errors that are preventing the files from syncing.
If 2 parties are syncing to each other, every party is finished as soon as it has received and processed the changes from the other side.
Your example: R says it is up to date with M indicates it has received all updates from M. While M is stil 39384 items out of sync. This is possible because M needs to receive a lot of data from R.
It is possible that the sync is configured one way. For example the photo sync from android is configured that way by default. It only sends updates, it never receives updates.