The calculated distance (air line) between Gorenja Vas and Koper is approximately 44 miles respectively 70 kilometers.
By car or train, the actual journey to Koper is certainly longer, as only the direct route (as the crow flies) between Gorenja Vas and Koper has been calculated here.
Air line (approximately)
70 kilometers
38 nautical miles