The only free and comprehensive online etymological dictionary of the Spanish language
rata (2) f. (Noun) "proportional part"

13th cent. From Latin rata, feminine of ratus "established." From Proto-Italic *rato- "thought." From Proto-Indo-European *Hr̥h1-to- "counted."

Indo-European: Germanic: Gothic raþjo "number," Old High German redea "account," Old Saxon rethia 'id.'