Calderdale Council spent almost £350,000 last year upkeeping properties which were empty for more than six months.