Add instance count.

Signed-off-by: John McCutchan <john@johnmccutchan.com>