These are great references and demonstrate gravitational lensing. These however do not estimate the "amount" of DM.
I believe your concern is addressed in the first reference, Caminha et al 2022. It's a bit over my head but appears to consider the cluster member mass as judged from the amount of light and also the extended member mass which includes dark matter.
On page 1 they announce what they are going to do:
"The positions and morphologies of the multiple lensed images also allow us to probe the distribution of matter, particularly dark matter, in the galaxy cluster..."
They give details of the mass model in section 4:
"The mass profiles we adopted are the pseudo-isothermal elliptical parameterisation (PIEMD; Kassiola & Kovner 1993), to describe the extended cluster mass (dark matter), and the dual pseudo-isothermal mass profile with axial symmetry (Elíasdóttir et al. 2007; Suyu & Halkola 2010), to describe the 61 cluster members. As commonly done in the literature, we assumed a constant mass-to-light ratio for the cluster members. With this, the number of free parameters describing these components is reduced to two normalisations, namely σ norm. v,gals and r norm. cut,gals. Finally, we also considered an external shear component to account for external massive perturbers that can affect the light deflection of background sources"
If you need more details I suggest you contact the authors.