He gave me one good piece of advice.

Literal

He [topic-は] me [to-に] good advice [object-を] one did [for me-てくれた].

~してくれた frames the advice as a favor. アドバイスをする is a suru-verb using the loanword. 一つ specifies 'one piece.'