legs: add basic stats

This closes #6.

Signed-off-by: diditclear <didyourupgradeclear@gmail.com>