JAVA-640: Signature change for aggregate helper method

Added the function which takes a List as a parameter.