Step 1: Translate the statements logically.
The given statements are:
Rajesh will not go to the concert if Rakesh goes. This means:
If Rakesh goes, then Rajesh will not go.
Rakesh will go to the concert if his dog barks three times. This means:
If the dog barks three times, then Rakesh will go.
Step 2: Analyze the situation.
If Rakesh’s dog barks three times, then Rakesh will go.
If Rakesh goes, then Rajesh will not go (from the first statement).
Thus, if Rakesh’s dog barks three times, then Rajesh will not go to the concert.
Therefore, the correct answer is:
\[
\boxed{3}.
\]