Text this: Optimal quantum sensing of the nonlinear bosonic interactions using Fock states