I think you can consider anything after a preposition to be acting as a noun, then things will be much simpler, but I am not a teacher.
I disagree.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: