In drosophila, each presynaptic site (t-bar) is typically connected to multiple postsynaptic sites. The 'pre' property tells you how many t-bars are present in the neuron, but not how many downstream partners all of its t-bars have in total. For that, you can use the 'downstream' property.
Here's a version of your query where I've made two modifications:
1. I match all downstream :Segment objects, rather than only :Neuron objects. In neuprint, all :Neurons are :Segments, but most :Segments are not large enough to qualify as a :Neuron. The 'downstream' property refers to all postsynaptic sites from the neuron's own t-bars, regardless of whether those sites belong to :Neurons or merely :Segments.
2. I added the 'downstream' property to the results. As you can see, it matches the sum(w.weight) result.
MATCH (a:Neuron)-[w:ConnectsTo]->(b:Segment)
WHERE a.bodyId =
5813047992 RETURN a.pre, a.downstream, sum(w.weight)
That results in the following values:
a.pre 346
a.downstream 1861
sum(w.weight) 1861
BTW, if it's helpful to visualize a t-bar and its postsynaptic sites, here's an example t-bar from the neuron in your query: