implement OR for count method into sql.js