Postgresql Count If Between Two