Something called the 'rule of proximity' is applied cases such as this, which overrules the grammatical rule. Grammatically, 'has' would be the right choice since it agrees in number with the head of the subject ('number'). However, 'have' is more acceptable due to this principle of proximity: 'methods' is closer to the verb than 'number' is, so you use 'have'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.