Implementing the Countable interface
Adding the GET device endpoint