"does exemption still apply in 2018 for form 1041 line 20 for a complex trust?"
Yes, and it is $300 if the trust instrument requires that all income be distributed currently; otherwise it is $100.
See https://www.irs.gov/instructions/i1041#idm140630131305376