CREATE TABLE table_15187735_18 (segment_d VARCHAR, segment_b VARCHAR)

Name the number of sement d for solar water heaters
SELECT COUNT(segment_d) FROM table_15187735_18 WHERE segment_b = "Solar Water Heaters"
SELECT COUNT("segment_d") FROM "table_15187735_18" WHERE "Solar Water Heaters" = "segment_b"