On the number of prime factors of integers of the form ab + 1