Methods for measuring nitrate leaching