Skemfar Shadowsage

When Skemfar Shadowsage enters the battlefield, choose one —
• Each opponent loses X life, where X is the greatest number of creatures you control that have a creature type in common.
• You gain X life, where X is the greatest number of creatures you control that have a creature type in common.