Put this in a Linux monitor:
#!/bin/bash
Value=`who | cut -f1 -d " " | sort | uniq | wc -l`
echo "\nStatistic: $Value";
echo "\nMessage: This is your value"
Obviously you can change the \nMessage to whatever pleases you. Note that before the who and after the -l is the back ticks.