changing hiearchy filter link to count