As a noun:
* It refers to advice or guidance. Example: "He sought the counsel of his lawyer."
As a verb:
* It means to advise or recommend. Example: "The therapist counseled the patient on coping mechanisms."
So, to determine the part of speech, look at how it's used in the sentence.