Add: count running instances