#!/bin/bash

svn status $1 2>&1 | egrep '^ M|^M|^ ?|^?' | wc -l
