package P;

import java.util.ArrayList;
import java.util.List;

public class A3 extends AMaster {
	
	public List<B3> listOfB3;
	
	public A3() {
		listOfB3 = new ArrayList<B3>();
	}

}

@@ -173,12 +173,196 @@
 3%3E();%0A%09%7D
+%0A%09%0A%09public int getSumNumberOfBElements() %7B%0A%09%09int totalNumberOfElements = 0;%0A%09%09%0A%09%09for(B3 b : listOfB3) %7B%0A%09%09%09totalNumberOfElements += b.getbVar1();%0A%09%09%7D%0A%09%09return totalNumberOfElements;%0A%09%7D
 %0A%0A%7D%0A

Add computational method