Use the ExecuteScalarHelper for ExecuteScalar method