Original: The location of the town in the bottom of a steep valley counted against it for railway construction.
Simplified: Because the town is at the bottom of a steep valley it was n't suitable for the railway.