If $G$ is a finitely generated profinite abelian group then $$ G\cong \prod_p \mathbb Z_p^{a(p)}\times\prod_n(\mathbb Z/n\mathbb Z)^{b(n)} $$ where $a(p), b(n)$ are integers and $a(p)=b(n)=0$ for all large enough $n$ and $p$ (see Ribes "Profinite groups" Theorem 4.3.5). If $G$ is a torsion-free profinite abelian group then $$ G\cong \prod_p\mathbb Z_p^{c(p)} $$ where the $c(p)$ are arbitrary cardinal numbers (see Ribes Theorem 4.3.3). If $G$ is a torsion profinite abelian group then $$ G\cong \prod_n (\mathbb Z/n\mathbb Z)^{c(n)} $$ where the $c(n)$ are arbitrary cardinal numbers with $c(n)=0$ for all large enough $n$ (see Ribes Corollary 4.3.9).
My question: Is every profinite abelian group of the form $$ \prod_p \mathbb Z_p^{a(p)}\times \prod_n (\mathbb Z/n\mathbb Z)^{b(p)} $$ where the $a(p)$ and $b(n)$ are arbitrary cardinal numbers? If the answer is positive, I'd like to see a proof (a reference suffices). If the answer is negative, what is a counter-example (with proof)?
Some comments: We know that a profinite abelian group $G$ is an inverse limit of finite abelian groups. Say $\{ G_i , \varphi_{ij}, I\}$ is a surjective inverse system of finite abelian groups. Then $G\cong \varprojlim_{i\in I} G_i$ is a profinite abelian group, and every profinite abelian group is of this form. Since the $G_i$ are finite and abelian, one can use the structure theorem for finite abelian groups on the $G_i$ and hope it "propagates" to the limit.