Change value datatype to long for PUBSUB NUMSUB output fixes #16