See, if u take the number of letters between E and A as x, the number of letters after A as y, and the number of letters before E as z, then we have
x+y+z=4, where x,y and z are non-negative integers.
So the ans is 4!.k, where k is the number of non-negative solutions to the above eqn.
Understood?