Text this: Simple and less hadronic-model-dependent method for cosmic-ray composition determination