specified count function as plyr
added some plattforms
specified package for function