La frase no esta escrita correctamente
Because Juan is a boy name so it should be “tantos”amigos not “tantas”and it also doesn’t sound right because if you translate the sentence it’s saying “Juan has many friends than ana” there should be like a many more or something added to the sentence
Hope this helps:)