The government of Costa Rica confirmed on Friday that Hurricane Otto had killed at least nine persons in the country, after the storm battered northern regions.