   wordRegex: null
 
   moveCursor: (cursor, options) ->
-    _.times @getCount(1), =>
+    @countTimes =>
       current = cursor.getBufferPosition()
 
       next = if options?.excludeWhitespace

  @extend()

  moveCursor: (cursor) ->
    _.times @getCount(1), ->
      cursor.moveToBeginningOfNextParagraph()

class MoveToPreviousParagraph extends Motion
  @extend()
  moveCursor: (cursor) ->
    _.times @getCount(1), ->
      cursor.moveToBeginningOfPreviousParagraph()

class MoveToBeginningOfLine extends Motion

    else
      @linewise

  countTimes: (fn) ->
    _.times @getCount(@defaultCount), ->
      fn()

class CurrentSelection extends Motion
  @extend()
  constructor: ->
