1
--Personal Peco helps to convert the following sql query to mongodb:
select count(*)
FROM tabela Where ((DataFim - DataInicio ) /1000 /60 /60) is not null and ((DataFim - DataInicio ) /1000 /60 /60) > 1 and ((DataFim - DataInicio ) /1000 /60 /60) < 2;