I agree the post is ambiguous when you use the word 'add up to the same amount when read from left to right and right to left'. This phrase qualifies all numbers, because all digits in a number would add up to be the same either way you read it. But the example given in the question suggests it's looking for a palindrome.
The range given to us is 50001 - 99999, so we're dealing with 5 digit numbers.
The first digit can be 5-9 -> so 5 choices
The second digit can be 0-9 -> so 10 choices
The third digit can be 0-0 -> so 10 choices
The fourth digit must be the same as the second, so only 1 choice
The fifth digit must be the same as the first, so only 1 choice
Total = 500.