how many railway lines go through the station maintained by new zealand ministry of works ?
SELECT DISTINCT COUNT attr_open var_uri attr_close where brack_open var_x dbo_owningOrganisation dbr_New_Zealand_Ministry_of_Works sep_dot var_x dbo_servingRailwayLine var_uri sep_dot var_uri a dbo_RailwayLine brack_close