create member-stats directive