ADD Auto increment id for the devices using mongo counters