SD library: Added new COUNT function

I made a fork to Adafruit/SD library and made a Pull request.

The fork: GitHub - Jeroi/SD: fixes & updates to the Arduino SD library - totally in progress. works but in beta