From: Jérôme Hénin (jhenin_at_ifr88.cnrs-mrs.fr)
Date: Tue Feb 01 2011 - 10:12:47 CST

Hi Balaji,

Try something like this in the console:
[atomselect top "name OH2 and same residue as within 4 of protein"] num

Cheers,
Jerome

On 1 February 2011 15:56, ban arn <ban.arn_at_gmail.com> wrote:
> Dear VMD users
>
> I would like to count number of water molecules within the selection
> of residues.
>
> Is there any vmd script available for doing the same for all frames.
>
> Kindly advice.
>
> Many Thanks
> Balaji
>