add existing relFilter to relCounter
auto type-cast BOOL and INT fields for mongoDB