Node count per group

Hi,

Can any one help to create SWQL script Table with Group name , Total node , nodes up , nodes down.