get point count correct for writing PointSourceId from oracle id