1. A computer program product comprising a computer readable storage medium storing computer usable program code for performing an inventory count, the computer program product comprising: computer usable program code for receiving a request to perform the inventory count of a set of objects within an enclosure; computer usable program code for locking the set of objects to be scanned, wherein locking comprises stopping movement of the set of objects; computer usable program code for scanning the set of objects, according to a profile associated with the set of objects, to perform the inventory count of the set of objects, wherein the profile specifies when to perform the inventory count of the set of objects, how to perform the inventory count of the set of objects, object data, object location, and variance analysis procedures for the set of objects; computer usable program code for comparing the scan result with a recorded level for the set of objects, wherein the recorded level is retrieved from a storage medium in the data processing system responsive to receiving a scan result of the inventory count; computer usable program code for logging a comparison result, wherein comparing the scan result with the recorded level generates the comparison result; computer usable program code for determining whether a variance exists between the scan result and the recorded level; computer usable program code for unlocking the set of objects, wherein unlocking the set of objects comprises resuming movement of the set of objects responsive to determining that the variance does not exist; and computer usable program code for displaying a variance report and performing a variance analysis comprising scanning an area adjacent to the enclosure containing the set of objects to locate missing objects in the set of objects responsive to determining that the variance exists, and wherein the variance analysis is based on actions defined in the profile associated with the set of objects.