No, axle counter can't detect broken tracks. It's used in signalling system as it counts the number of axle entering/exiting any section. In contrast to conventional track circuit which fails to work in flooded conditions, axle counter can do its job.