<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def size(self):
 """Size is number of nodes under the trie, including the current node"""

        if self.children:
            return sum( ( c.size() for c in self.children.values() ) ) + 1
        else:
            return 1