An optical fluid measurement element includes: an emitter that generates an optical output; an absorber that measures an optical input; and a fluid flow pathway, where the optical output of the emitter passes through the fluid flow pathway and is received as the optical input to the absorber after passing through the portion of the fluid flow pathway. An automated method of measuring fluid volume using an optical fluid measurement element includes: activating an emitter; capturing data from an optical sensor; detecting a leading edge of fluid travelling along a flow pathway; starting a counter when the leading edge is detected; and calculating a volume based on a value of the counter. An automated method of measuring fluid attributes along a flow pathway. The method includes: activating an optical emitter; receiving a signal from an optical sensor; and processing the received signal to determine at least one fluid attribute.