Answer: Somewhere between 57 and 66 barbie dolls. Include both endpoints.
Explanation
x = total number of barbie dolls
When rounding x to the nearest ten, we get 140.
Because x is a positive whole number, the smallest x could be is 135 and the largest is 144.

x is between 135 and 144 including both endpoints.
Subtract 78 from all sides

x is the total number of dolls, 78 is the number Joslyn has, and x-78 is the number Ashlyn has.
We don't know the exact number Ashlyn has, but we do know the range of values. Her count is somewhere between 57 and 66 including both endpoints.
------------
Example:
- Ashlyn has 60 dolls
- Joslyn has 78 dolls
- 60+78 = 138 total
That rounds to 140 when rounding to the nearest ten.
------------
Another Example:
- Ashlyn has 63 dolls
- Joslyn has 78 dolls
- 60+78 = 141 total
That rounds to 140 when rounding to the nearest ten.
------------
Something that does NOT work:
- Ashlyn has 100 dolls
- Joslyn has 78 dolls
- 100+78 = 178 total
That rounds to 180 when rounding to the nearest ten. This total is too large even before rounding.