As promised:
I couldn't find more upto date information on the size of the Ragusan Military than in "The Defensive System of the Ragusan Republic (c. 1580-1620)" Publisher: Brill Publishing Editors: Gabor Karman and Lovro Kunčević.
"Armed Forces
The number of regular/salaried troops in Ragusan service varied from year to year, depending on the circumstances and the military needs of the republic, but it almost never exceeded 350 men. These forces were stationed in two main garrisons. The fiirst—and more numerous—one, which numbered around 200 men, was stationed in the town of Dubrovnik itself.
The second was in the complex of the Ston fortifications in the western part of the republic, guarding the Pelješac peninsula: here a further 70–100 men were posted. In addition to these two main garrisons, the republic also maintained a small unit (10–20 men strong) in the fortress of Sokol in the easternmost part of its territory, guarding important caravan routes that led from its territory into the Ottoman lands.
The core of the Ragusan forces consisted of a company of foreign mercenaries called the barabanti. The ranks of the barabanti were filled exclusively by foreigners (mainly from Croatia and Hungary) with military experience and served as a sort of elite force that provided a backbone for the units of local Ragusan soldiers. Without any personal ties to the local population or the ruling aristocracy, this unit was a perfect choice for police and security operations, and represented a major asset for suppressing civil disorders or rebellions. One of the most important duties entrusted to the barabanti was the daily and nightly patrolling of the town and its fortifijications. The majority of the barabanti, 30–40 of them, served in the town of Ragusa, while a smaller detachment of 10–20 men was stationed in Ston.
The bulk of the Ragusan military was made up by the so-called soldati, Ragusan subjects who had chosen the military profession as their trade. While the barabanti were organized as a single company under one captain, soldati were divided into six squadrons (squadre), commanded by two captains, helped by a dozen corporals (capi). Of those two captains, one was in command of the fiive town squadrons of various sizes (see Table 1 – note not included here as tables cannot be formatted correctly) each in charge of a single guard post, whereas the second captain commanded the so called squadra di ormaniza, a unit of a soldati serving as a marine infantry on the armed vessels of the republic.
As a supplement to these two formations, the republic also kept a company (30–40 men) of trained artillery specialists called bombardieri on its payroll. Unlike the soldati or the barabanti, who were professional soldiers per se and supported themselves strictly through such activities, the ranks of the bombardieri were also open to practitioners of other professions, like blacksmiths or shipbuilders. Based on the Venetian model, in the early modern period the bombardieri were organized in their own fraternity (scuola) under the protection of St. Barbara, the patron saint for handlers of explosives.18 In accordance with the semi-military status of the gunners, their commander did not hold the title of captain, but rather that of prota, the head of a fraternity. etc etc…."
Paper can be downloaded from researchgate:
link