I have since updated the block to allow the Administrator to see how many visible and invisible users are currently accessing the Moodle site. A teacher who is not an Site administrator, but is teacher of the course and also a course administrator can also be given the same privileges. Take for example, the image below:
A Student user who has gone invisible
Here we find that Mr Smiley Face is a student who has opted to make himself invisible. He is able to see other students' avatars as long as they did not themselves choose to be invisible.
Image 1: One invisible lurker
and one visible user.
and one visible user.
Mr Smiley Face student does not, however, know how many lurkers exist on the Moodle coursepage site. For all he knows, he might be the only lurker around. Or, he could be one of ten others lurking around the site.