A bottle system is presented including a bottle portion having electronics including a display, an accelerometer, an acoustic sensor, and a processor, the bottle portion configured to hold a quantity of pills, and a cap portion joinable to the bottle portion. The accelerometer and processor are configured to determine an acceleration of shaking of the bottle portion and cap portion with the quantity of pills contained therein, and further wherein the acoustic sensor, accelerometer, and processor are configured to determine a frequency spectrum of an acoustic signal obtained when the bottle portion and cap portion are shaken and determine an estimated quantity of pills based on the frequency spectrum.