put an amount of time in on
put (some time) in on (something)
To invest some amount of time to something or some activity. I've put months of my life in on this project, so it's really gut-wrenching to see it get canceled at the last minute. You can't just put an hour or two in on an instrument and expect to suddenly master it.
put an amount of time in on something
to spend an amount of time (doing something). You put how much time in? I put in four months on that project.