title: How many factors in an integer
body: <p>I have to create a function that calculates how much factors an integer has. For example, when I call <code>factor(10)</code> the function should be able to tell me it has 4 factors (<code>1</code>, <code>2</code>, <code>5</code>, <code>10</code>). So where would I start off? Would do I need to put?</p>