Optional<Long>totalLanding= ....(get it from somewhere);
Optional<Long>totalSharing = ...(get it from somewhere);
I want to do something like this not syntactically but logically
Optional<Long>total = totalLanding+totalSharing;
Such that if both are empty then total should be empty if one of them has the value then total should have that value is both of them have the value then they should get added and stored in total