Thread count for a process id

Hi,

I want to know a command/program to get thread count for a process id in unix box.

Please help me in this regard.

What OS?