size and get methods added to set

size and get methods added to set