Retirement tax questions

Thanks. Brokerage communicated additional funds to cover fees can be deposited into retirement account and they do not count towards contribution limit. Is this correct?        Can investment fees and costs be deducted for non-retirement brokerage accounts and where?