Check oid count before attempting to init a PollDeviceTask object.