size method now used to determine the size of the linked list for unionized energy grid