what is the total number of fictional characters whose created by doug naylor and series is red dwarf ?
SELECT DISTINCT COUNT attr_open var_uri attr_close where brack_open var_uri dbo_creator dbr_Doug_Naylor sep_dot var_uri dbo_series dbr_Red_Dwarf brack_close