辞書についてはわかりませんが、配列の場合は次のようにすることができます。
NSMutableArray *myArr = [fill the array with w/e];
int home;
int mobile;
int work;
for(int x = 0; x < [myArr count]; x++){
NSString *r = [myArr objectAtIndex:(NSUInteger)x];
if([r isEqualToString:@"work"]){
work++;
[myArr replaceObjectAtIndex:x withObject:[NSString strinWithFormat:@"%@(%i)", r, work]];
}
else if([r isEqualToString:@"home"]){
home++;
[myArr replaceObjectAtIndex:x withObject:[NSString strinWithFormat:@"%@(%i)", r, home]];
}
else if([r isEqualToString:@"mobile"]){
mobile++;
[myArr replaceObjectAtIndex:x withObject:[NSString strinWithFormat:@"%@(%i)", r, mobile]];
}
}
幸運を祈ります