Changed count != False to if count is not False for Task 20.