Gets the value of the given path as a Long or sets the default value if it doesn't exist
The value of the given path as Long
The path to get the value of
The default value to set if the path doesn't exist