Added size() function