2 of 2 added 145 characters in body

Pyth, 9 7 bytes

Thanks to @Maltysen for saving 2 bytes!


Test suite

Converts every character of the input to it's binary representation and then splits this into chunks of length 8. The number of those chunks is then the amount of bytes needed to encode that character.