complete previous commit
add test case for filter in inter/COUNT