Text this: Real-time monitoring method for gadolinium concentration in a water Cherenkov detector