Performance metrics for nanofiltration-based selective separation for resource extraction and recovery