Rangers learn up to 11 spells (not including subclass spells) and up to 5th level spells.