A medication dispensing system is provided and includes a medicine transfer device (MTD) and a controller. The MTD transfers medicine between first and second containers. The first container initially stores medicine. The controller: determines a first predetermined amount of medicine to be dispensed from the medicine dispensing system causes the MTD to discharge a second predetermined amount of the medicine from the first container onto the MTD, and transfer a third predetermined amount of the medicine from the MTD to the second container subsequent to the transfer of the third predetermined amount, determine whether the second container has greater than or equal to the first predetermined amount and if the second container has less than the first predetermined amount, cause the MTD to transfer a portion of the medicine on the MTD into the second container or discharge a portion of the medicine in the first container onto the MTD.