Add segment with count of clients attached to tmux

Replaces #662 
Fixes #661