Added size() function to Origin2/3 for good template functionality