During the 19th century, the major European powers went to great lengths to maintain a balance of power throughout Europe, resulting in the existence of a complex network of political and military alliances throughout the continent by 1900. These began in 1815, with the Holy Alliance between Prussia, Russia, and Austria. When Germany was united in 1871, Prussia became part of the new German nation. Soon after, in October 1873, German Chancellor Otto von Bismarck negotiated the League of the Three Emperors  between the monarchs of Austria-Hungary, Russia and Germany. This agreement failed because Austria-Hungary and Russia could not agree over Balkan policy, leaving Germany and Austria-Hungary in an alliance formed in 1879, called the Dual Alliance. This was seen as a method of countering Russian influence in the Balkans as the Ottoman Empire continued to weaken. This alliance expanded in 1882 to include Italy, in what became the Triple Alliance. Bismarck had especially worked to hold Russia at Germany's side in an effort to avoid a two-front war with France and Russia. When Wilhelm II ascended to the throne as German Emperor , Bismarck was compelled to retire and his system of alliances was gradually de-emphasised. For example, the Kaiser refused, in 1890, to renew the Reinsurance Treaty with Russia. Two years later, the Franco-Russian Alliance was signed to counteract the force of the Triple Alliance. In 1904, Britain signed a series of agreements with France, the Entente Cordiale, and in 1907, Britain and Russia signed the Anglo-Russian Convention. While these agreements did not formally ally Britain with France or Russia, they made British entry into any future conflict involving France or Russia a possibility, and the system of interlocking bilateral agreements became known as the Triple Entente.
Question: How many countries were apart of the Dual Alliance?
Answer: 2