A lot of time or much time are both grammatical. A lot of is a bit more casual than much , but more commonly used in declarative affirmative sentences. (This project will take a lot of time.) Much ... is used in questions or negative statements (How much money do we have? You don't have much time.)
One uses many with things that are countable (He has many things to do. How many children do they have)