When Tina chose a number N and wrote down all of its factors, apart from $1$ and N, she noticed that the largest of the factors in the list was $45$ times the smallest factor in the list. How many numbers N could Tina have chosen for which this is the case?