count the different religions followed by grand vizier of the ottoman empire in military .
SELECT DISTINCT COUNT attr_open var_uri attr_close where brack_open var_x dbo_militaryRank dbr_Grand_Vizier_of_the_Ottoman_Empire sep_dot var_x dbo_religion var_uri brack_close