I did something like that going from Sao Paulo (Brazil) to Leticia (Colombia) following the coast toward north and later taking amazon river cargo ships. It took me about 5 months, transit days about 2 months.
r.id,
r.owner_id,
r.name,
COUNT(r.id) OVER (PARTITION BY r.id) AS COUNT
FROM repository r
JOIN star s ON s.repository_id = r.id
ORDER BY 4 DESC;