/**
  * Get count of device types.
  * @return int Count of all device types.
  */
 public function getCount()
 {
     return \App\DeviceType::all()->count();
 }