I understand the difference between Collision Domains & Broadcast Domains, my problem is that I can't figure out how to count them in a network. Would someone please post a diagram and illustrate in details the best way to count them!!!
All ports of a hub are in the same collision domain and broadcast domain. Whether the domains expand beyond a connected device depends on the type of device, and in some cases, the configuration of the device.
Two hubs connected to separate interfaces of a router would result in two collision domains, and two broadcast domains.
Routers separate broadcast domains. In the context of this discussion, when you are talking broadcast domains, you are talking about Layer 2 communication (MAC).
The only devices that will receive and process the MAC broadcast are the hosts connected to that hub, and the network interface of the router connected to that hub.