The number of samples taken by the "MonteCarlo" Method of NExpectation[] is controlled through an undocumented option. To see what happens, let's use a function with Sow[]:
f[x_?NumericQ] := (Sow[x]; x Sin[x] + 1)
and then evaluate
tst = Reap[NExpectation[f[x], x \[Distributed] NormalDistribution[],
Method -> "MonteCarlo"]];
We then find that
Length[tst[[-1, 1]]]
1012001
Now, let's adjust that undocumented option to use $10^7$ samples:
tst2 = Reap[NExpectation[f[x], x \[Distributed] NormalDistribution[],
Method -> {"MonteCarlo", "SamplingIncrement" -> 1*^7}]];
and we find that
Length[tst2[[-1, 1]]]
10012001
so, $10^7$ samples plus a little extra was used.
To see all the other adjustable options:
Options[Statistics`Library`NExpectationMonteCarloMethod]
{PrecisionGoal -> 2, AccuracyGoal -> 3, MaxIterations -> 50000,
"RandomSeed" -> Automatic, EvaluationMonitor -> None,
ConfidenceLevel -> 19/20, WorkingPrecision -> MachinePrecision,
"ReportingMethod" -> Automatic, "SamplingIncrement" -> 1000000}
NExpectationdoes integration ofexpressionif the distribution is continuous, or discrete sum if this is a discrete one. In your case, it will do integration of $(x \sin(x)+1)$ with theNormalDistribution– José Antonio Díaz Navas Dec 19 '17 at 08:58