Trace analyses for wastewaters