There is one command which will show how many USB ports are there and how many usb devices are connectted to the linux system. The command is lsusb
is a utility for displaying information about USB buses in the system and the devices connected to them.
#lsusb -v will show all the details about usb devices