Removing unused addRelease function. Converting getReleases to getNumberOfReleases.

This way the internal implementation of how the releases are stored is hidden to the consumer.