How many even numbers can be formed from the digits 1,2,4,4,7,8,9

Is it 2160 ( 6! * 3)

if the last digit is 4, then there are 6! ways

If the last digit is 2 or 8, then there are only 6!/2! ways because of the duplicate 4s.

So, there are only 2*6! total ways