In digital signal processing and data communication system in optical domain it is paramount important to count the pulse number of any device or processor and hence optical counter for fast counting. In this letter the authors propose a new method to implement an all-optical 3- bit asynchronous binary counter comprising all-optical T flip flops which works based on the polarization switching characteristics of SOA, and frequency encoded data have been used for communication purpose. Use of Frequency encoding technique in the proposed scheme makes it attractive and effective one in various aspects in wave division multiplexing based communication network. Simulation aided results support the practicability of the proposed scheme.