Implementing count 2