Repating COUNT in WhereIN condition
Use conditional aggregation:

select count(*) filter (where order_status_id in (5,4,15)) as a, 
       count(*) filter (where order_status_id in (6)) as b,
       count(*) filter (where order_status_id in (4,10,9,12,7)) as c,
       count(*) filter (where order_status_id in (11,16,17,13)) as d
from order_item_histories;