How is costs singular?
As a noun,
'Costs' is a plural noun and therefore it takes a plural verb in agreement. For example:
The costs of travelling to Mauritius are huge.
As a verb,
'Costs' refers to a singular object. For example,
The pencil costs Rs 2.