Added counters to migration script for group contacts