Have barcode or QR code reader/writer capabilities. Use phone to scan a picture of the barcode on the bottle then enter close bottle # and then pill counter for individual/open ones.