Node count questions

1st, I wonder why the node count number (if I select 2 or more nodes) gives the sum of nodes plus Bezier handles. Is there a way of just displaying the nodes?

2nd, is there a possibility to count the total of all nodes in a font?

Technically speaking, those are all nodes, just of different types. What do you need the number of oncurve nodes for?

num = 0
for g in Font.glyphs:
    for l in g.layers:
        for p in l.paths:
            for n in p.nodes:
                num += 1
print(num)

Note: this really counts all nodes, not just oncurve nodes, adding all nodes in layers (master/special/backup) together.