Added method countTrades to MomentumStrategy.java to add a line from the logger to display the number of A and B trade signals in the output file.