Modeling and analysis of queueing systems with discrete autoregressive arrivals and counting processes