Implementation of BGP Count