Modified: SQL aggregate methods in Manager class.