Consider the dissociation equilibrium of the following weak acid:
\[
\mathrm{HA \rightleftharpoons H^+(aq) + A^-(aq)}
\]
If the \(pK_a\) of the acid is \(4\), then the pH of a \(10\ \text{mM}\) HA solution is ________ (Nearest integer).
(Given: The degree of dissociation can be neglected with respect to unity)