Added the size() method.