GPRS working with AT commands but not with GSM library

Is that the gsm library for the Arduino gsm shield that you are trying to use for another gsm modem? Are you sure they are compatible? It seems like there is a problem with the at command AT+QIFGCNT