length_d - counts elements of a dictionary
dict length_d -> int
<</a 1 /b 2>> length_d -> 2
modeldict length_d --> 34
Use length if you are not sure of the data type.
docu by Sirko Straube
/builddir/build/BUILD/nest-simulator-3.2/nest-simulator-3.2/sli/slidict.cc