Does a AR15 count as a long gun?

And if so would I be able to buy one without a permit or would I have to wait 2 more years? 19 years old