Estimation of the parameter in the stochastic model for phage attachment in bacteria