\(D=\frac{B(B\to KJ/\psi(ee))}{B(B\to KJ/\psi(\mu\mu))}\)
since
\(B(X \to Y) = \frac{N_{signal}}{N_{total}}\)
we estimate \(N_{selected}\) during the analysis process and it corresponds to \(N_{signal}\) by: