Fix the error on null field
Fix counting on numeric value
Add tests on rest query
Add POST on rest