Insert some line breaks
Private method for testing count direction
Put COUNT_DIRECTION at top level