401K Rollover and contributions

Hey everyone!

 

I changed jobs this year and rolled over my 401k to an IRA. What I'm wondering is if my contributions count towards my 2018 limit. 

 

To make things simpler:

 

I contributed 2,000 to my 401k at Job A

When I left Job A I rolled that over to an IRA

 

Now that I'm at Job B how much can I contribute to my 401k for 2018?