Question: 
Write a python function to count the number of digits in factorial of a given number.


Model's Code:
def find_Digits(n):
    if n == 0 or n == 1:
        return 1
    else:
        import math
        return math.floor(math.log10(math.factorial(n))) + 1



Sample Correct Code:
import math 
def find_Digits(n): 
    if (n < 0): 
        return 0;
    if (n <= 1): 
        return 1; 
    x = ((n * math.log10(n / math.e) + math.log10(2 * math.pi * n) /2.0)); 
    return math.floor(x) + 1; 


Asserts:
assert find_Digits(7) == 4
assert find_Digits(5) == 3
assert find_Digits(4) == 2


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 845 of 974: 649/845 (76.80473372781064%): success