Salinity measurement tool