count the number of different religions that general officer have followed ?
SELECT DISTINCT COUNT attr_open var_uri attr_close where brack_open var_x dbo_militaryRank dbr_General_Officer sep_dot var_x dbo_religion var_uri brack_close