hexagon logo

How do Nastran calculate the dofs in a model?

I find the .log file can give a number of dofs of a model, and the number of total dofs is six times of the number of nodes. Is the node in different type element has a same number of dofs? In my opinion, the node in solid element only have three translation dofs and node in beam element has six dofs(three trans and three rotate).
In Marc volume E help file, it also give a example that each node in solid element. So how do Nastran calculate number of different type elements?