There is a common pattern that make use of V+는/(으)ㄴ/(으)ㄹ and N+만큼 to describe the extent or degree of that verb.
Expresses the extent to which something is done, or a condition exists
Used to express a future action's extent or degree.
Native speakers don't always follow proper spacing rules and may sometimes leave out the space between the particle V+는/(으)ㄴ/(으)ㄹ and N+만큼.