'Get the number of I{real} attributes which exclude xs and xml attributes.
@return: A count of I{real} attributes.
@rtype: L{int}'

def rlen(self):

    n = 0
    for a in self.real():
        n += 1
    return n
