Add length() method to SimpleFacet