The commonly cited figures are 15 for Sonic and 8 for Tails, which is the pairing Sega has generally used in official material.
You will see other numbers floating around, including 18 and 11, and the comics have used yet another set. The franchise has never been especially consistent about it, so treat any single figure as the answer of the moment rather than a hard fact.