Here’s a question: Just how many men were there in the West? And were they friends, cousins or perhaps even brothers?

Even if those questions weren’t troubling you as you left the theater, they were on the mind of Emil Johansson, a university student in Gothenburg, Sweden.

Johansson has spent the past several years creating a comprehensive census and family tree of all the characters — over 900 of them — created by Tolkien for his fantasy world.

If you’d like to see this family tree, check it out here.